package live.zs.validation;

import io.quarkus.logging.Log;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.validation.Valid;

/**
 * @author madison
 * @description
 * @date 2022/2/4 14:37
 */
@ApplicationScoped
public class BookService {
    public void validateBook(@Valid Book book) {
        // your business logic here
        Log.debug("valid book:" + book.title);
    }
}
